package com.punai.dataclean.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punai.common.core.domain.BaseEntity;
import com.punai.common.utils.sqlite.SLCDesc;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.math.BigDecimal;

@TableName("clean_data_sr_info")
public class IncomeDataCleanInfo extends BaseEntity {

    @SLCDesc(tc = "ID")
    private String id;

    private String oid;
    private String orginCode;
    private String inventoryCode;
    private String inventoryName;
    private String inventorySpec;
    private String inventoryUnit;
    private String inventoryContent;
    private String inventoryCalcrule;
    private BigDecimal price;
    private String priceType;
    private String proid;
    private String pid;
    private String dataJson;
    private String linkDataJson;


    @TableField(exist = false)
    private BigDecimal lre;

    @TableField(exist = false)
    private String pjjgsj;
    @TableField(exist = false)
    private String company;
    @TableField(exist = false)
    private String address;


    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("oid", oid)
                .append("orginCode", orginCode)
                .append("inventoryCode", inventoryCode)
                .append("inventoryName", inventoryName)
                .append("inventorySpec", inventorySpec)
                .append("inventoryUnit", inventoryUnit)
                .append("inventoryContent", inventoryContent)
                .append("inventoryCalcrule", inventoryCalcrule)
                .append("price", price)
                .append("priceType", priceType)
                .append("proid", proid)
                .append("pid", pid)
                .append("dataJson", dataJson)
                .append("linkDataJson", linkDataJson)
                .toString();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getOrginCode() {
        return orginCode;
    }

    public void setOrginCode(String orginCode) {
        this.orginCode = orginCode;
    }

    public String getInventoryCode() {
        return inventoryCode;
    }

    public void setInventoryCode(String inventoryCode) {
        this.inventoryCode = inventoryCode;
    }

    public String getInventoryName() {
        return inventoryName;
    }

    public void setInventoryName(String inventoryName) {
        this.inventoryName = inventoryName;
    }

    public String getInventorySpec() {
        return inventorySpec;
    }

    public void setInventorySpec(String inventorySpec) {
        this.inventorySpec = inventorySpec;
    }

    public String getInventoryUnit() {
        return inventoryUnit;
    }

    public void setInventoryUnit(String inventoryUnit) {
        this.inventoryUnit = inventoryUnit;
    }

    public String getInventoryContent() {
        return inventoryContent;
    }

    public void setInventoryContent(String inventoryContent) {
        this.inventoryContent = inventoryContent;
    }

    public String getInventoryCalcrule() {
        return inventoryCalcrule;
    }

    public void setInventoryCalcrule(String inventoryCalcrule) {
        this.inventoryCalcrule = inventoryCalcrule;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPjjgsj() {
        return pjjgsj;
    }

    public void setPjjgsj(String pjjgsj) {
        this.pjjgsj = pjjgsj;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public String getProid() {
        return proid;
    }

    public void setProid(String proid) {
        this.proid = proid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDataJson() {
        return dataJson;
    }

    public void setDataJson(String dataJson) {
        this.dataJson = dataJson;
    }

    public String getLinkDataJson() {
        return linkDataJson;
    }

    public void setLinkDataJson(String linkDataJson) {
        this.linkDataJson = linkDataJson;
    }

    public BigDecimal getLre() {
        return lre;
    }

    public void setLre(BigDecimal lre) {
        this.lre = lre;
    }
}
